<template>
	<view class="">
		<!-- <u-tabbar bg-color="rgb(18,19,18)" :border-top="false" @change="changeTab" v-model="current" icon-size="48" height="120" :list="list" active-color="#000"
			inactive-color="#999"></u-tabbar> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [],
				current: -1
			}
		},
		created() {
			this.list=getApp().globalData.list;
		},
		methods: {
			changeTab(e) {
				// 获取当前页面路径
				let curPage = getCurrentPages();
				let route = curPage[curPage.length - 1].route;
				if(route=='pages/home/index'||route=='pages/chip/index'||route=='pages/blindBox/index'||route=='pages/market/index'||route=='pages/my/index'){
					
				}else{
					this.current=-1;
				}
			}
		}
	}
</script>

<style lang="less">
	::v-deep  .u-tabbar__content__item__text {
		bottom: 20rpx;
	}
</style>
